package com.ruoyi.map.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 水域管理对象 fh_map_water
 * 
 * @author ruoyi
 * @date 2024-11-13
 */
@ApiModel(value = "FhMapWater",description = "水域实体")
public class FhMapWater extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("水域id")
    private Long id;

    /** 水域类型 */
    @ApiModelProperty("水域类型")
    @Excel(name = "水域类型")
    private String waterType;

    /** 水域名称 */
    @ApiModelProperty("水域名称")
    @Excel(name = "水域名称")
    private String waterName;

    /** 位置名 */
    @ApiModelProperty("位置名")
    @Excel(name = "位置名")
    private String locationName;

    /** 经度 */
    @ApiModelProperty("经度")
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @ApiModelProperty("纬度")
    @Excel(name = "纬度")
    private String latitude;

    /** 捕获总数 */
    @ApiModelProperty("捕获总数")
    @Excel(name = "捕获总数")
    private Long catchTotal;

    /** 单次钓价 */
    @ApiModelProperty("单次钓价")
    @Excel(name = "单次钓价")
    private String price;

    /** 是否禁止钓鱼 */
    @ApiModelProperty("是否禁止钓鱼")
    @Excel(name = "是否禁止钓鱼")
    private String useStatus;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWaterType(String waterType) 
    {
        this.waterType = waterType;
    }

    public String getWaterType() 
    {
        return waterType;
    }
    public void setWaterName(String waterName) 
    {
        this.waterName = waterName;
    }

    public String getWaterName() 
    {
        return waterName;
    }
    public void setLocationName(String locationName) 
    {
        this.locationName = locationName;
    }

    public String getLocationName() 
    {
        return locationName;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setCatchTotal(Long catchTotal) 
    {
        this.catchTotal = catchTotal;
    }

    public Long getCatchTotal() 
    {
        return catchTotal;
    }
    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }
    public void setUseStatus(String useStatus) 
    {
        this.useStatus = useStatus;
    }

    public String getUseStatus() 
    {
        return useStatus;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("waterType", getWaterType())
            .append("waterName", getWaterName())
            .append("locationName", getLocationName())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("catchTotal", getCatchTotal())
            .append("price", getPrice())
            .append("useStatus", getUseStatus())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("crateTime", getCrateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
